﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'up_tb_Vendor_Distribution_TransformerImage_Update')
	DROP PROCEDURE up_tb_Vendor_Distribution_TransformerImage_Update
GO

CREATE PROCEDURE [dbo].[up_tb_Vendor_Distribution_TransformerImage_Update] 
(
	@ImageId int,
	@filename	nvarchar(100)
)
AS

UPDATE tb_Vendor_Distribution_TransformerImages
SET FileName = @filename
WHERE Vendor_Distribution_Transformer_ImageId = @ImageId

